package com.peanut.baby.mvp.point;

import com.peanut.baby.model.PointHistory;
import com.peanut.baby.mvp.BasePresenter;
import com.peanut.baby.mvp.BaseView;

import java.util.List;

/**
 * Created by anonymouslystudio on 2017/8/23.
 */

public interface PointRecordContract {
    interface View extends BaseView{
        void onRecordListGet(List<PointHistory> data);
        void onGetRecordFailed(String reason);
    }

    interface Presenter extends BasePresenter{
        void getRecordList(int pageNo, int pageSize);
    }
}
